package material.encapsulation_algorithm.prepareRecipe;

public class BeverageTestDrive {
    public static void main(String[] args) {
        Tea tea = new Tea();
        Coffee coffee = new Coffee();
        System.out.println("开始制作茶");
        System.out.println("----------------------------");
        tea.prepareRecipe();
        System.out.println("----------------------------");
        System.out.println("开始制作咖啡");
        System.out.println("----------------------------");
        coffee.prepareRecipe();
        System.out.println("----------------------------");

    }
}
